﻿using _17bangMVC.Models;
using SRV.ViewModel.Email;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SRV.ServiceInterface
{
    public interface IUserService
    {
        int Register(UserModel model);
        string GetPwdById(int id);
        ProfileModel GetProfile();
        void GetEmail(ActivateModel model);
        ActivateModel GetEmailCode(int uid);
        void ValidEmail(int uid);
        UserModel GetByName(string name);
    }
}
